Skip to content

Conversation

@brycewilkins
Copy link
Contributor

@brycewilkins brycewilkins commented Nov 29, 2024

This repository has suffered a few setbacks over past years with Zephyr related patches being lost (causing things to break for RTT/SystemView/Zephyr), and it has been reported as hard to review PRs due to Windows style line endings. There is also no instruction on how to update from the existing Segger source code to a newer release, leading to partial updates that make subsequent updates more difficult and error prone.

This PR attempts to improve things by:

  1. Changing all line endings to Unix style LF (\n)
  2. Updating (completely) to SystemView v3.58 Target sources
  3. Adding a README that identifies Segger "upstream" and suggests a procedure for updating to a new Segger release

To do:

  • Testing with SystemView application v3.58
    Platform:
nRF Connect SDK v2.8.0-a2386bfc8401
Zephyr OS v3.7.99-0bc3393fb112

Board: Nordic Semi nRF52840 DK

image

Convert all files in repository to Unix style LF line endings (`\n`).
Trailing whitespace is also trimmed.

No functional changes.

Signed-off-by: Bryce Wilkins <[email protected]>
Integrate Zephyr changes with Segger SystemView target source v3.58

Signed-off-by: Bryce Wilkins <[email protected]>
@brycewilkins
Copy link
Contributor Author

@cfriedt The suggestion for Unix style line endings is accommodated in this PR.

@henrikbrixandersen @nordic-krch @nordicjm Hope you are able to have a look.

Thank you!

@brycewilkins
Copy link
Contributor Author

@cfriedt @henrikbrixandersen Would you be able to have a look? Thank you!

Copy link
Member

@henrikbrixandersen henrikbrixandersen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, one small nit.

@brycewilkins brycewilkins force-pushed the bw/segger_line_endings branch from bfbb570 to 4a23974 Compare December 17, 2024 05:25
Add README.md that identifies the origin of Segger source files and
provide a procedure for migrating Zephyr changes to new Segger releases.

Signed-off-by: Bryce Wilkins <[email protected]>
@brycewilkins brycewilkins force-pushed the bw/segger_line_endings branch from 4a23974 to 4a7b86e Compare December 17, 2024 05:31
@kartben kartben merged commit cf56b1d into zephyrproject-rtos:master Dec 17, 2024
@brycewilkins brycewilkins deleted the bw/segger_line_endings branch December 17, 2024 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants